package com.example.helloworld;


public class PlayerData{
    private int friendDucatCount;
    
    public PlayerData(int playerID){
        // More attributes can be added and the information can be pulled from the database
        // instead of just being hard coded as it is now.
    	// TODO Load player data from DB.
        friendDucatCount = 100;
    }
    
    public void loadPlayer(int playerID){
    	// TODO Add database communication to pull the information from the network
    }
    
    public int getFriendDucats(){
        return friendDucatCount;
    }
    
    public void addFriendDucats(int plus){
    	// TODO Transaction to the database.
        friendDucatCount += plus;
    }
    
    public void subtractFriendDucats(int minus){
    	// TODO Transaction to the database.
        friendDucatCount -= minus;
    }
}